package cn.wolfcode.mapper;

import cn.wolfcode.domain.Ip;
import org.apache.ibatis.annotations.Param;

import javax.xml.crypto.Data;
import java.util.List;

public interface IpMapper {
    int insert(Ip record);

    List<Ip> selectAll();

    Ip selectIP(String ip);

    void updateCount(@Param("ip") String ip , @Param("count") Integer count);
    void update(Ip record);

    void deleteIp(String ip);
}